package com.dxl.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.*;
import java.time.LocalDateTime;
/**
 * <b> Series实体类
 * </b><br><br><i>Description</i> :
 * <br>Date: 2019-09-25    <br>Author : dxl
 */
public class Series implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键ID
    */
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;

    /**
    * 系列名称
    */
    @TableField("series_name")
    private String seriesName;

    /**
    * 组ID
    */
    @TableField("group_id")
    private Integer groupId;

    /**
    * 状态
    */
    @TableField("status")
    private Integer status;

    /**
    * 备注
    */
    @TableField("note")
    private String note;

    /**
    * 创建时间
    */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
    * 同级排序
    */
    @TableField("order_num")
    private Integer orderNum;

    /**
    * 逻辑删除
    */
    @TableField("is_del")
    private Integer isDel;

    /**
    * 乐观锁
    */
    @TableField("version")
    private Integer version;

    /**
     * 系列字体颜色
     */
    @TableField(exist = false)
    private String seriesFontColor;

    /**
     * 系列边框颜色
     */
    @TableField(exist = false)
    private String seriesSolidColor;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
}

    public String getSeriesName() {
        return seriesName;
    }

    public void setSeriesName(String seriesName) {
        this.seriesName = seriesName;
}

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
}

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
}

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
}

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
}

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
}

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
}

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
}

    public String getSeriesFontColor() {
        return seriesFontColor;
    }

    public void setSeriesFontColor(String seriesFontColor) {
        this.seriesFontColor = seriesFontColor;
    }

    public String getSeriesSolidColor() {
        return seriesSolidColor;
    }

    public void setSeriesSolidColor(String seriesSolidColor) {
        this.seriesSolidColor = seriesSolidColor;
    }

    @Override
    public String toString() {
        return "Series{" +
        ", id=" + id +
        ", seriesName=" + seriesName +
        ", groupId=" + groupId +
        ", status=" + status +
        ", note=" + note +
        ", createTime=" + createTime +
        ", orderNum=" + orderNum +
        ", isDel=" + isDel +
        ", version=" + version +
        "}";
    }
}
